import request from '@/utils/request'

// 纸质图档管理分页查询
export function getPaper(params) {
  return request({
    url: '/record/paper/selectPage',
    method: 'POST',
    params
  })
}

// 纸质图档管理添加
export function insertPaper(data) {
  return request({
    url: '/record/paper/insert',
    method: 'POST',
    data
  })
}

// 纸质图档管理修改
export function updatePaper(data) {
  return request({
    url: '/record/paper/update',
    method: 'POST',
    data
  })
}
// 纸质图档管理id查询
export function findId(params) {
  return request({
    url: '/record/paper/findId',
    method: 'post',
    params
  })
}
// 纸质图档管理删除
export function delPaper(data) {
  return request({
    url: '/record/paper/del',
    method: 'post',
    data
  })
}

// 查询合同项目的名称
export function selectProjectName(params) {
  return request({
    url: '/projectInvocie/ProjectName',
    method: 'post',
    params
  })
}
